//
//  MainLiveInPutTollBarView.h
//  v8090Video
//
//  Created by 陈建 on 2018/9/6.
//  Copyright © 2018年 BlueWind. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MainLiveInPutTollBarView;

@protocol MainLiveInPutTollBarViewDelegate <NSObject>
@optional

- (void)inputToolbar:(MainLiveInPutTollBarView *)inputToolbar sendContent:(NSString *)sendContent;

//更新tabview 的高度
-(void)putViewHeight:(CGFloat)hei;

@end
@interface MainLiveInPutTollBarView : UIView
/**
 *  初始化chat bar
 */
- (instancetype)initWithFrame:(CGRect)frame;
/**
 *  文本输入框
 */
@property (nonatomic,strong)UITextView *textInput;
/**
 *  设置输入框最大行数
 */
@property (nonatomic,assign)NSInteger textViewMaxLine;

/**
 *  textView占位符
 */
@property (nonatomic,strong)UILabel *placeholderLabel;

@property (nonatomic,weak) id<MainLiveInPutTollBarViewDelegate>delegate;

@property (nonatomic, copy) void (^keyIsVisiableBlock)(BOOL keyboardIsVisiable);

// 发送成功
-(void)sendSuccessEndEditing;
@end
